import request from '@/utils/request'

// 查询客户跟踪列表
export function listLpTrack(query) {
  return request({
    url: '/fund/lpTrack/list',
    method: 'get',
    params: query
  })
}

// 查询客户跟踪详细
export function getLpTrack(id) {
  return request({
    url: '/fund/lpTrack/' + id,
    method: 'get'
  })
}

// 保存客户跟踪
export function saveLpTrack(data) {
  return request({
    url: '/fund/lpTrack/save',
    method: 'post',
    data: data
  })
}

// 删除客户跟踪
export function delLpTrack(id) {
  return request({
    url: '/fund/lpTrack/' + id,
    method: 'delete'
  })
}

// 导出客户跟踪
export function exportLpTrack(query) {
  return request({
    url: '/fund/lpTrack/export',
    method: 'get',
    params: query
  })
}

// 出资人跟踪报表
export function lpTrackReport(query) {
  return request({
    url: '/fund/lpTrack/lpTrackReport',
    method: 'get',
    params: query
  })
}
